package indi.zhifa.recipe.bailan.framework.auth.entity.po;

import com.baomidou.mybatisplus.annotation.TableField;
import indi.zhifa.recipe.bailan.framework.mysql.entity.po.SysBaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * <p>
 * 部门表
 * </p>
 *
 * @author 织法
 * @since 2022-12-16
 */
@Data
public class BaseAuthNodeEntity extends SysBaseEntity {

    protected BaseAuthNodeEntity(){

    }

    @Schema(title = "领域id")
    protected Long domainId;

    @Schema(title = "领域code")
    protected String domainCode;

    @Schema(title = "父节点id")
    protected Long parentId;

    @Schema(title = "父节点code")
    protected String parentCode;

    @Schema(title = "部门码")
    protected String code;

    @TableField(value = "`cascade`")
    @Schema(title = "部门级联码")
    protected String cascade;

}
